package com.quickly.develop.common.entity;

import java.io.Serializable;
import java.util.Map;

import com.quickly.develop.common.base.BaseEntity;

/**
 * 查询参数
 * 
 * @Author: quyunde
 * @Date: 2020-05-10
 */
public class EntityRequest<T extends BaseEntity> implements Serializable {

	private static final long serialVersionUID = 7328071045193618467L;

	private T entity;
	private Map<String, Object> params;

	public EntityRequest() {
		super();
	}

	public EntityRequest(T entity, Map<String, Object> params) {
		super();

	
		this.entity = entity;
		this.params = params;
	}

	public Map<String, Object> getParams() {
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}

	public T getEntity() {
		return entity;
	}

	public void setEntity(T entity) {
		this.entity = entity;
	}

}